package com.sophic_tech.hkb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sophic_tech.hkb.entity.AccountModel;
import com.sophic_tech.hkb.entity.AuthModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AuthMapper extends BaseMapper<AccountModel> {
    AuthModel login(@Param("username") String username, @Param("password") String password);

//    int register(@Param("username") String username, @Param("password") String password);

//    int countByUsername(@Param("username") String username);

//     AuthModel findByUsername(@Param("username") String username);

//     int register(@Param("username") String username, @Param("phone") String phone, @Param("password") String password);
}
